package com.ruoyi.work.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.work.domain.JyImage;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @program: RuoYi-Cloud-master
 * @ClassName StudentCorporationVo
 * @description:
 * @author: 段阳
 * @create: 2024-06-06 16:11
 **/
public class StudentCorporationVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 中间表id */
    @Excel(name = "中间表id")
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 公司id */
    @Excel(name = "公司id")
    private Long corporationId;
    private String corporationName;
    private String corporationAddress;

    public String getCorporationName() {
        return corporationName;
    }

    public void setCorporationName(String corporationName) {
        this.corporationName = corporationName;
    }

    public String getCorporationAddress() {
        return corporationAddress;
    }

    public void setCorporationAddress(String corporationAddress) {
        this.corporationAddress = corporationAddress;
    }

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resignationTime;

    /** 上报入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportEntryTime;

    /** 上报离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportResignationTime;

    /** 是否有补助 */
    @Excel(name = "是否有补助")
    private String isSubsidy;

    /** 补助金额 */
    @Excel(name = "补助金额")
    private String subsidyPrice;

    /** 薪资 */
    @Excel(name = "薪资")
    private BigDecimal corporationPay;

    private List<String> imageLists;

    public List<String> getImageLists() {
        return imageLists;
    }

    public void setImageLists(List<String> imageLists) {
        this.imageLists = imageLists;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setCorporationId(Long corporationId)
    {
        this.corporationId = corporationId;
    }

    public Long getCorporationId()
    {
        return corporationId;
    }
    public void setEntryTime(Date entryTime)
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime()
    {
        return entryTime;
    }
    public void setResignationTime(Date resignationTime)
    {
        this.resignationTime = resignationTime;
    }

    public Date getResignationTime()
    {
        return resignationTime;
    }
    public void setReportEntryTime(Date reportEntryTime)
    {
        this.reportEntryTime = reportEntryTime;
    }

    public Date getReportEntryTime()
    {
        return reportEntryTime;
    }
    public void setReportResignationTime(Date reportResignationTime)
    {
        this.reportResignationTime = reportResignationTime;
    }

    public Date getReportResignationTime()
    {
        return reportResignationTime;
    }
    public void setIsSubsidy(String isSubsidy)
    {
        this.isSubsidy = isSubsidy;
    }

    public String getIsSubsidy()
    {
        return isSubsidy;
    }

    public String getSubsidyPrice() {
        return subsidyPrice;
    }

    public void setSubsidyPrice(String subsidyPrice) {
        this.subsidyPrice = subsidyPrice;
    }

    public void setCorporationPay(BigDecimal corporationPay)
    {
        this.corporationPay = corporationPay;
    }

    public BigDecimal getCorporationPay()
    {
        return corporationPay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("studentId", getStudentId())
                .append("corporationId", getCorporationId())
                .append("entryTime", getEntryTime())
                .append("resignationTime", getResignationTime())
                .append("reportEntryTime", getReportEntryTime())
                .append("reportResignationTime", getReportResignationTime())
                .append("isSubsidy", getIsSubsidy())
                .append("subsidyPrice", getSubsidyPrice())
                .append("corporationPay", getCorporationPay())
                .append("imageLists", getImageLists())
                .append("corporationName",getCorporationName())
                .append("corporationAddress",getCorporationAddress())
                .toString();
    }
}